#parse("/portal/account/header.html")
<title>注册账号</title>
<link rel="shortcut icon" href="$request.getContextPath()/resources/cws/images/logo.ico" />
<link type="text/css" href="$request.getContextPath()/resources/cws/portal/account/css/regEmailDetail.css" rel="stylesheet">
<script type="text/javascript" src="$request.getContextPath()/resources/layer/layer.js" ></script>
<script type="text/javascript" src="$request.getContextPath()/resources/cws/portal/account/js/regEmailDetail.js"></script>
<div class="regphone-body container">
	<div>
		<div class="head">
			<h2>邮箱注册</h2>
		</div>
	</div>
	<div class="body">
		<div class="row">
			<form class="form-horizontal" id="regEmailDetailForm" role="form" action="$request.getContextPath()/portal/account/register" method="post">
				<div class="form-group">
					<label for="email" class="col-sm-2 control-label">邮箱</label>
					<div class="col-sm-8">
						<input type="text" class="form-control" name="email" value="$!email" disabled placeholder="请输入邮箱">
						<input type="hidden" name="regToken" value="$!regToken">
					</div>
					<div class="col-sm-2">
					</div>
				</div>
				<div class="form-group">
					<label for="userName" class="col-sm-2 control-label">用户名称</label>
					<div class="col-sm-8">
						<input type="text" class="form-control" name="userName" placeholder="请输入用户名称" required autofocus>
					</div>
					<div class="col-sm-2">
					</div>
				</div>
				<div class="form-group">
					<label for="password" class="col-sm-2 control-label">登陆密码</label>
					<div class="col-sm-8">
						<input type="password" class="form-control" name="password" placeholder="6-16位密码,区分大小写,不能留空格" required>
					</div>
					<div class="col-sm-2">
					</div>
				</div>
				<div class="form-group">
					<label for="repassword" class="col-sm-2 control-label">确认密码</label>
					<div class="col-sm-8">
						<input type="password" class="form-control" name="repassword" placeholder="请再次输入密码" required>
					</div>
					<div class="col-sm-2">
					</div>
				</div>
				<div class="form-group">
					<label for="captchaCode" class="col-sm-2 control-label">邮箱验证码</label>
					<div class="col-sm-6">
						<input type="text" class="form-control" name="captchaCode" placeholder="请输入邮箱验证码,请从邮箱中查获。" required>
					</div>
					<div class="col-sm-4">
						<a id="emailAddress" href="" target="_blank" class="btn btn-default" role="button"  style="margin-left: -10px;" onclick="return setEmailAddress('$!email')">获取邮件</a>
					</div>
				</div>
				<div class="form-group" style="margin-top: 50px">
					<div class="col-sm-offset-4 col-sm-8">
						<button type="button" class="btn btn-lg regphone-button" onclick="return verifyEmailRegister()">注册</button>
					</div>
				</div>
				<div class="form-group" style="margin-top: 10px">
					<div class="col-sm-offset-8 col-sm-4">
						<a href="../../portal/account/regPhone"><span style="vertical-align: middle;" class="glyphicon glyphicon-envelope" aria-hidden="true">手机注册</span></a>
						<a href="../../portal/account/pwd"><span style="vertical-align: middle;" class="glyphicon glyphicon-user" aria-hidden="true">找回密码</span></a>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
#parse("/portal/account/footer.html")